package com.example.dubbo.storage.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.example.dubbo.api.dto.CommodityDTO;
import com.example.dubbo.api.response.ObjectResponse;
import com.example.dubbo.storage.entity.StorageTblEntity;


/**
 * 
 *
 * @author Liyuhang
 * @email 50875895@qq.com
 * @date 2021-09-21 15:02:45
 */
public interface StorageTblService extends IService<StorageTblEntity> {

    /**
     * 扣减库存
     */
    ObjectResponse decreaseStorage(CommodityDTO commodityDTO);
}

